package com.axend.aerosense.common.connect.bean;

import com.axend.aerosense.base.bean.BaseBean;
import com.axend.aerosense.common.bean.RadarType;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class BleMsgEntity extends BaseBean {

    private BleMsgTag tag;
    private RadarType radarType;
    private Object body;

    public BleMsgEntity(BleMsgTag tag, RadarType radarType) {
        this(tag, radarType, null);
    }

    public BleMsgEntity(BleMsgTag tag, RadarType radarType, Object body) {
        this.tag = tag;
        this.radarType = radarType;
        this.body = body;
    }
}
